package com.quanyan.place.mapper;

import com.quanyan.place.entity.TbBizPlacePromotionRecord;
import com.quanyan.place.entity.TbBizPlacePromotionRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbBizPlacePromotionRecordMapper {
    int countByExample(TbBizPlacePromotionRecordExample example);

    int deleteByExample(TbBizPlacePromotionRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbBizPlacePromotionRecord record);

    int insertSelective(TbBizPlacePromotionRecord record);

    List<TbBizPlacePromotionRecord> selectByExample(TbBizPlacePromotionRecordExample example);

    TbBizPlacePromotionRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbBizPlacePromotionRecord record, @Param("example") TbBizPlacePromotionRecordExample example);

    int updateByExample(@Param("record") TbBizPlacePromotionRecord record, @Param("example") TbBizPlacePromotionRecordExample example);

    int updateByPrimaryKeySelective(TbBizPlacePromotionRecord record);

    int updateByPrimaryKey(TbBizPlacePromotionRecord record);
}